<?xml version='1.0' encoding='UTF-8' ?> 
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:p="http://primefaces.org/ui"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:f="http://java.sun.com/jsf/core">
          
      <ui:composition template="projectTemplate.xhtml">
 
        <ui:define name="top"><h1>Sort Memory Area</h1></ui:define>
                
        <ui:define name="content">
        <h:form>
            
            <p:treeTable value="#{sortMemoryController.root}" var="sortMemory">  
                <f:facet name="header">  
                    Sort Memory Area Statistics  
                </f:facet>  

                <p:column style="width:150px">  
                    <f:facet name="header">  
                        Time Block  
                    </f:facet>  
                    <h:outputText value="#{sortMemory.actualTime}" />  
                </p:column>  

                <p:column style="width:100px">  
                    <f:facet name="header">  
                        Sorts Disk
                    </f:facet>  
                    <h:outputText value="#{sortMemory.sortsDisk}" />  
                </p:column>  

                <p:column style="width:100px">  
                    <f:facet name="header">  
                        Sorts Memory
                    </f:facet>  
                    <h:outputText value="#{sortMemory.sortsMemory}" />  
                </p:column>  
                
                <p:column style="width:100px">  
                    <f:facet name="header">  
                        Sorting To Disk  
                    </f:facet>  
                    <h:outputText value="#{sortMemory.sortingToDisk}" />  
                </p:column> 
                
                <p:column style="width:100px">  
                    <f:facet name="header">  
                        Health Status  
                    </f:facet>  
                    <h:outputText value="#{sortMemory.s_healthStatus}" />  
                </p:column> 
                
            </p:treeTable>  
       </h:form>
       </ui:define>
    </ui:composition> 
</html>
